package com.huawang.mdesign.model.service.dto;

import com.huawang.business.dto.ProjectIdDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Description 附件Dto
 * @Date 2022/5/25
 * @Author baibf
 */
@Data
public class AttachedFileDTO extends ProjectIdDTO {

    @Schema(title = "项目id")
    private String projectId;

    @Schema(title = "父级模型id")
    private String parentId;

    @Schema(title = "模型类型")
    private String metaclass;

    @Schema(title = "模型默认名称")
    private String defaultName;

    @Schema(title = "模型类别 0：普通模型 1：关系")
    private Integer type;

    @Schema(title = "创建模型附带特殊业务标识")
    private String operation;

    @Schema(title = "应用构造型")
    private List<String> applyStereotypes;

    @Schema(title = "文件全名")
    private String file;

    @Schema(title = "修改时间")
    private String modifiedAt;

    @Schema(title = "上传时间")
    private String attachedAt;

    @Schema(title = "大小")
    private String size;

    @Schema(title = "所有者")
    private String author;

    @Schema(title = "附件对应的文件icon")
    private String icon;
}
